package com.bxait.toymail.product.dao;

import com.bxait.toymail.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author chen
 * @email 2277411582@qq.com
 * @date 2023-03-13 22:26:35
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    // 更新商品状态为已上架
    void updateSpuStatus(@Param("spuId") Long spuId, @Param("code") int code);
}
